// 品牌相关接口
import { get, post, put, exportDefault } from '@/utils/request'

// 品牌的公共URL前缀
let BASE_URL = '/common/brand'

const brand = {
  queryAllOemBrandList: (data) => get(BASE_URL + '/queryAllOemBrandList', data),
  queryBrandPage: (data) => post(BASE_URL + '/searchDefault', data),
  exportBrand: (data) => exportDefault(BASE_URL + '/exportDefault', data),
  getBrandById: (data) => get(BASE_URL + '/getById', data),
  createBrand: (data) => post(BASE_URL + '/create', data),
  updateBrand: (data) => put(BASE_URL + '/update', data)
}
export default brand
